package com.stylefeng.guns.modular.system.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng123
 * @since 2018-04-04
 */
public class Warehouse extends Model<Warehouse> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("warehouse_id")
    private String warehouseId;
    @TableField("warehouse_name")
    private String warehouseName;
    @TableField("warehouse_partition")
    private String warehousePartition;
    @TableField("warehouse_principal")
    private String warehousePrincipal;
    @TableField("warehouse_principal_tell")
    private String warehousePrincipalTell;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(String warehouseId) {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public String getWarehousePartition() {
        return warehousePartition;
    }

    public void setWarehousePartition(String warehousePartition) {
        this.warehousePartition = warehousePartition;
    }

    public String getWarehousePrincipal() {
        return warehousePrincipal;
    }

    public void setWarehousePrincipal(String warehousePrincipal) {
        this.warehousePrincipal = warehousePrincipal;
    }

    public String getWarehousePrincipalTell() {
        return warehousePrincipalTell;
    }

    public void setWarehousePrincipalTell(String warehousePrincipalTell) {
        this.warehousePrincipalTell = warehousePrincipalTell;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Warehouse{" +
        "id=" + id +
        ", warehouseId=" + warehouseId +
        ", warehouseName=" + warehouseName +
        ", warehousePartition=" + warehousePartition +
        ", warehousePrincipal=" + warehousePrincipal +
        ", warehousePrincipalTell=" + warehousePrincipalTell +
        "}";
    }
}
